package com.wangzhixuan.model;

import com.baomidou.mybatisplus.annotations.TableField;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-08-22
 */
@TableName("disk_history")
public class History extends Model<History> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
	private Integer id;
    /**
     * 网盘文件id主键
     */
	@TableField("sky_file_id")
	private Integer skyFileId;
    /**
     * 访问人
     */
	@TableField("visit_id")
	private Integer visitId;
    /**
     * 访问时间
     */
	@TableField("visit_time")
	private Date visitTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSkyFileId() {
		return skyFileId;
	}

	public void setSkyFileId(Integer skyFileId) {
		this.skyFileId = skyFileId;
	}

	public Integer getVisitId() {
		return visitId;
	}

	public void setVisitId(Integer visitId) {
		this.visitId = visitId;
	}

	public Date getVisitTime() {
		return visitTime;
	}

	public void setVisitTime(Date visitTime) {
		this.visitTime = visitTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
